home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / mewldemo.zip / MEWLDEMO.TSC < prev    next >
Text File  |  1991-02-26  |  2KB  |  68 lines

  1. ############################################################################
  2. #                                                                          #
  3. #  MAKEFILE for the TIMEDEMO                                               #
  4. #                                                                          #
  5. ############################################################################
  6.  
  7. # Compiler is M for Microsoft, T for Borland Turbo C, Z for Zortch, J for JPI
  8. COMPILER = J
  9. # Model is M for Medium, L for Large, S for Small
  10. MODEL = l
  11.  
  12. # JPI C macros
  13. CC = tsc
  14. OPT = /othlr
  15. DEBUG = /rs+ /rn+ /ri+ /ro+ /rr+ /v2 /b+ /ox- /w-
  16. CFLAGS = /zq /e+ /j+ /m$(MODEL) /dMSC /dDOS /dLANSYS $(DEBUG) /wpin- /wdnu- /wubd- /wait-
  17. ASM = masm 
  18. ##LMODEL should be 1 if you want large data
  19. ASMDEBUG = /Zi
  20. ASMFLAGS = /DLMODEL=0 /DTC=0 /mx
  21. LIB = lib
  22. LINK = c:\msc5\link
  23. LFLAGS = /st:8192
  24.  
  25.  
  26.  
  27. # Borland Turbo C macros
  28. #CC = tcc
  29. # Optimization : -G favors speed over size, -O improves jumps & loops
  30. #OPT = -G -O
  31. #CFLAGS = -v -c -d -f- -k -N -K -m$(MODEL) -DDOS -DTC -w-aus -w-pia -w-stu -w-rvl -w-par
  32. #ASM = tasm
  33. #ASMFLAGS = /dTC=1 /dLMODEL=0 /mx
  34. #LIB = tlib
  35. #LINK = tlink
  36. #LFLAGS = /v
  37.  
  38. RC = \mewel\rc
  39.  
  40. # We tack the compiler and model onto the end of the library name, so
  41. # the library for Borland's Turbo C, medium model would be called WINLIBTM.LIB
  42.  
  43. # Inference rules for C and ASM files
  44.  
  45. .c.obj :
  46.     $(CC) $(CFLAGS) $*.c
  47.  
  48. .asm.obj :
  49.     $(ASM) $(ASMFLAGS) $*;
  50.  
  51. .rc.res :
  52.     $(RC) $*
  53.  
  54.  
  55. DEMO = mewldemo
  56. OBJS = $(DEMO).obj
  57. OBJ  = $(DEMO)
  58.  
  59. all         :   $(DEMO).exe
  60.  
  61. $(DEMO).obj :   $(DEMO).c
  62.  
  63. $(DEMO).res :   $(DEMO).rc
  64.  
  65. $(DEMO).exe :   $(OBJS) $(DEMO).res
  66.   $(LINK) /co $(LFLAGS) $(OBJ),$(DEMO),nul,winlib$(COMPILER)$(MODEL).lib;
  67. # $(RC) $(DEMO).res
  68.